package com.fw.service;

import java.util.List;

import com.fw.model.Permission;

public interface PermissionService {
	public Integer query_totalPermissonService(String sql);
	public List<Permission> query_allPermissonByPageService(String sql, int firstPage,int maxPage);
	public boolean add_permissionService(Permission permisson);
	public List<Permission> query_permissionForTypeDao(Permission permission);
	public Permission query_permissionByIdService(Permission permission);
	public boolean update_permissionService(Permission permission);
	public boolean delete_permissionByIdService(Permission permission);
}
